<?php
include("../inc/conn.inc");
include("../inc/page.php");
$hover=6;
$url="list.php";
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=20;
$l_rs=@mysql_query("select * from news_type where id='".$_GET['id']."'");
$l_row=@mysql_fetch_array($l_rs);
$l_rs2=@mysql_query("select * from news_type where id='$l_row[type_id]'");
$l_row2=@mysql_fetch_array($l_rs2);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$l_row[type_name]?>展会，<?=$l_row2[type_name]?>，三帝贸易网为您提供最新国内展会、国际展会、行业展会信息。</title>
<meta name="description" content="<?=$l_row[type_name]?>展会，<?=$l_row2[type_name]?>，三帝贸易网是集展会公告、展会资讯、国内展会、国际展会等于一体的大型专业展会频道,我们正在建成一个齐全、准确、及时、详细的国内外各类展览会及国内会展服务企业检索数据库。" />
<meta name="keywords" content="<?=$l_row[type_name]?>展会，展会，国内展会，国际展会，三帝展会，行业展会，三帝展会" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<link href="/expo/css/list.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php include("../inc/head_top.php")?>
<?php include("../inc/index_search.php")?>
<?php include("../inc/menu.php");?>
<div id="mian" class="topside6 side">
<div class="title1">当前位置: <a href="/">三帝贸易网</a> >> <a href="/expo/">展会</a> >> <a href="/expo-type/<?=$l_row[type_id]?>/1.html"><?=$l_row2[type_name]?></a> >> <?=$l_row[type_name]?> </div>
<div class="onl"></div>
</div>
<div class="w960 topside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>
<div id="mian" class="topside6">
<div class="rightbox downside6">

<div class="rightmain downside6 side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-1-20 */
google_ad_slot = "4212697383";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>


  <div class="rightmain">
    <div class="title size14 b">最新展会</div>
    <div class="RtInfo4">
      <div class="div_3">
        <ul>
<?php
$rs=@mysql_query("select id,news_time,news_title from news where (type_id2=27 or type_id2=28) and n_sh=1 order by id desc limit 10");
while($row=@mysql_fetch_array($rs)){
?>
<li><a href="/expo/<?=date("Y-m-d",strtotime($row[news_time]))?>/<?=$row['id']?>.html" target="_blank"><?=mb_substr($row[news_title],0,18,'utf-8')?></a></li><?php }?>
          </ul>
      </div>
    </div>
    <div class="onl"></div>
  </div>
  <div class="rightmain topside6 downside6 side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 250x250, 创建于 11-1-20 */
google_ad_slot = "4212697383";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
  </div>
  
<div class="leftmain content sideyellow1">
  <div class="biaoti">
<div class="title3 size14"><?=$l_row[type_name]?>列表</div>
  <ul class="newslist">
<?php
	 $rs=@mysql_query("select id,start_time,news_time,news_title from news where type_id3='$_GET[id]' and n_sh=1 order by id desc limit ".($thepage-1)*$maxpage.",$maxpage");
	 while($row=@mysql_fetch_array($rs)){
	 ?>
     <li><span><?php if($row[start_time]){echo date("Y-m-d",strtotime($row[start_time]));}?></span><a href="/expo/<?=date("Y-m-d",strtotime($row[news_time]))?>/<?=$row['id']?>.html" target="_blank"><?=mb_substr($row[news_title],0,30,'utf-8')?></a></li>
<?php }
$rs2=@mysql_query("select count(id) from news where type_id3='$_GET[id]' and n_sh=1");
$totalrecord=@mysql_result($rs2,0); 
$totalpage=ceil($totalrecord/$maxpage);
@mysql_free_result($rs2);
?>
  </ul>
<div class="page">
<div class="pageleft">
<ul>
<?php pages($thepage,$totalpage,$maxpage,5);?>
</ul>
</div>
<div class="pageright">
<form name="pageform" method="post" action="" onSubmit="return onCheckPage()"> 
共<?=$totalpage?>页　到
<input type="text" name="page" class="input-txt" size="5" maxlength="5">页
<input type="submit" value="确定" class="but">
</form>
<script language="javascript"> 
function onCheckPage(){
var page = parseInt(document.pageform.page.value); 
if(isNaN(page)){
alert("请输入数字(1,<?=$totalpage?>)");
return false; 
}
if(page<=0){
page =1; 
}
if(page ><?=$totalpage?>){
page=<?=$totalpage?>;
}
if(page>1){
document.pageform.action = "/expo-list/<?=$_GET[id]?>/"+page+".html"; 
}else{
document.pageform.action = "/expo-list/<?=$_GET[id]?>/1.html";
}
return true;
}
</script>
  </div>
<div class="onl"></div>
</div>
  </div>
  </div>
<div class="onl"></div>
</div>
<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div><?php
include("../inc/foot.php");
?>
</BODY>
</HTML>



<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>


